

#import "RequestIDGenerator.h"

#define MOD 100000
@implementation RequestIDGenerator
-(id)init
{
    self = [super init];
    if(self)
    {
        _counter = 1;
    }
    return self;
}

-(NSInteger)generateReqestID
{
    NSInteger n = (++_counter)%MOD;
    return n;
}
@end
